package com.jams.goodox.entity.resp;

import com.jams.goodox.entity.FocusBean;
import com.jams.goodox.net.BaseEntity;

import java.util.List;

/**
 * Created by jams on 2017/6/15.
 * ***
 * Tel: ***
 */

public class EnterpriseResp extends BaseEntity {
    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<FocusBean> focusInfoList;
        private Double money;//	余额
        private String redPacketNum;//红包数

        public List<FocusBean> getFocusInfoList() {
            return focusInfoList;
        }

        public void setFocusInfoList(List<FocusBean> focusInfoList) {
            this.focusInfoList = focusInfoList;
        }

        public Double getMoney() {
            if(money == null){
                return 0.0;
            }
            return money;
        }

        public void setMoney(Double money) {
            this.money = money;
        }

        public String getRedPacketNum() {
            if(redPacketNum == null){
                return "0";
            }
            return redPacketNum;
        }

        public void setRedPacketNum(String redPacketNum) {
            this.redPacketNum = redPacketNum;
        }
    }
}
